﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DarkPassenger
{
    public partial class MenuFacturacion_AgregarNuevoProducto_AgregarCantidad : Form
    {
        public MenuFacturacion_AgregarNuevoProducto_AgregarCantidad()
        {
            InitializeComponent();
        }


        public string GetString
        {
            get
            {
                return textBox1.Text;
            }
        }


        private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < 48 || e.KeyChar > 57) && e.KeyChar != 8 && e.KeyChar != 13)
                e.Handled = true; 
        }



        private void btnAceptar_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
